package com.lvcoding.customize.social;

import org.springframework.security.core.userdetails.User;

/**
 * 登录抽象方法
 *
 * @author wuyanshen
 */
public abstract class AbstractLoginHandler implements LoginHandler {

    @Override
    public User handle(String loginStr) {
        String identify = this.identify(loginStr);
        return this.userInfo(identify);
    }

}
